package com.hibase.core.oss.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ChrisCui
 * @date 2019/05/17
 */
public class MimeConstant {

    public static final Map<String, String> mimeMap = new HashMap<>();

    static {
        mimeMap.put("jpeg", "image/jpeg");
        mimeMap.put("jpg", "image/jpeg");
        mimeMap.put("bmp", "image/bmp");
        mimeMap.put("gif", "image/gif");
        mimeMap.put("pdf", "application/pdf");
        mimeMap.put("png", "image/png");
        mimeMap.put("xlsx", "application/vnd.ms-excel");
        mimeMap.put("xls", "application/vnd.ms-excel");
        mimeMap.put("txt", "text/plain");
        mimeMap.put("doc", "application/msword");
        mimeMap.put("docx", "application/msword");
        mimeMap.put("pptx", "application/powerpoint");
        mimeMap.put("ppt", "application/powerpoint");
    }
}